<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html>
<html>
    <head>
    	<title>一笑网-${for_head}</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="../../static/layui/css/layui.css" />
        <link rel="stylesheet" href="../../static/css/yx.css" />
        <script src="../../static/js/jquery-2.1.4.min.js" ></script>
        <script type="text/javascript" src="../../static/layui/layui.all.js" ></script>
        <script src="../../static/js/yx.js" >/*公共js*/</script>
        <style type="text/css">
        	.cc{margin: 1em auto;min-height: 50rem; background-color: #FFF;}
        	
			.yu-head{margin-bottom: 0.5em; text-indent: 1em;}
			
			
			.fenyefox *{border-radius: 0px !important;clear: both;}
        	#fenye span{background-color: rgba(0,0,0,0);color: #000;}
        	
        </style>
        <script>
        	$(function(){
        		
        		//本页数据
        		var way="${way}";	//1=指定uid好友，2=指定uid粉丝,3=指定uid积分记录,4=指定uid消息通知
        		
        		//分页
				var laypage = layui.laypage;
				laypage.render({
					elem:'fenye',
					count:"${page.count}",
					curr:"${page.pn}",
					limits:[1,5,10,15,20],
					limit:"${page.pz}",
					layout: [ 'count','prev', 'page', 'next', 'limit', 'skip'],
					theme: '#1E9FFF',
					jump: function(obj,first) {
						if(!first){
							location.href="us_foryx.html?&way="+way+"&pn="+obj.curr+"&pz="+obj.limit;
						}
					}
				});
        		
        	
        	})
        </script>
    </head>
    <body class="rus-html">
    	<div class="aa"> 
    		<%@include file="../in/in_head.jsp"%> <!-- 头部导入 -->
    	</div>
    	
    	<!-- 身体部分 -->
    	<div class="cc yx-max-width">
			<br />
			<h3 class="yu-head yx-color-one">${for_head}</h3>
			
			<c:if test="${way==1||way==2}" >
				<%@include file="../user/in_foruser.jsp"%>
			</c:if>
			
			<c:if test="${way==3}" >
				<%@include file="../user/in_forred.jsp"%>
			</c:if>
			
			<c:if test="${way==4}" >
				<%@include file="../user/in_fornews.jsp"%>
			</c:if>
    		
    		
    	</div>
    	
		<div class="fenyefox yx-max-width yx-phone-max">
			<div id="fenye"> <!-- 牛逼的分页 哈哈 --> </div>
		</div>
    	
    	<div class="ff">
    		<%@include file="../in/in_bottom.jsp"%> <!-- 底部导入 -->
    	</div>
    	
    	
 	</body>
</html>